﻿#ifndef COMMON_H
#define COMMON_H

#include "../../include/itcommon.h"

class Common : public ITCommon
{
    Q_OBJECT
public:
    static Common* GetInstance() {static Common __instance; return &__instance;}
public:
    Common();
    virtual ~Common();
    virtual void SetFramework(ITFramework* pFrm);
    virtual void copystru8(QString source, char *dest, int ndestLen);
    virtual void copystru8(char *source, char *dest, int ndestLen);

private:
    QString     m_szLog;
    ITFramework *m_pFramework;
    ITLogger    *m_pLogger;
};

#endif // COMMON_H
